package com.dbf.site.client.main.presenter;

import com.dbf.site.client.ForumEventBus;
import com.dbf.site.client.main.view.IMainView;
import com.dbf.site.client.main.view.MainView;
import com.google.gwt.user.client.ui.Widget;
import com.mvp4g.client.annotation.Presenter;
import com.mvp4g.client.presenter.BasePresenter;

@Presenter(view = MainView.class)
public class MainPresenter  extends BasePresenter<IMainView, ForumEventBus>
implements IMainView.IMainPresenter {
	
	public void onSetWelcomeView(Widget widget){
		view.setWelcomeView(widget);
	}
	public void onSetEastView(Widget widget){
		view.setEastView(widget);
	}
	public void onSetMessageView(Widget widget){
		view.setMessageView(widget);
	}

}
